package com.wzcl.app.service;

import com.wzcl.app.dao.model.Delivery;
import com.wzcl.app.model.common.MyPage;
import com.wzcl.app.model.dto.DeliveryDto;

import java.util.List;

public interface DeliveryService extends BaseService<Delivery, DeliveryDto> {
    //不提供需创建
    Delivery getDeliveryById(Integer id);

    Delivery getDelivery(DeliveryDto deliveryDto);

    Delivery delDeliveryById(Integer id);

    Delivery updateDeliver(DeliveryDto deliveryDto);

    List<Delivery> getDeliveryList(DeliveryDto deliveryDto);

    MyPage<Delivery> getDeliveryPage(DeliveryDto deliveryDto);

    String queryDeliveryInfo(DeliveryDto deliveryDto);

    Delivery confirm(Integer id, String phone);
}
